package net.huashitong.ssydt.provider.exam.service;


import net.huashitong.ssydt.exam.entity.SsExamErrorRecord;

import java.util.List;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.09.06
 */
public interface SsExamErrorRecordService {

    int deleteByPrimaryKey(Long id);

    int insert(SsExamErrorRecord record);

    int insertSelective(SsExamErrorRecord record);

    SsExamErrorRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SsExamErrorRecord record);

    int updateByPrimaryKey(SsExamErrorRecord record);

    SsExamErrorRecord getByUserIdWithBelongYearMonth(String userId, String belongYearMonth);

    List<SsExamErrorRecord> findBelongYearMonthDescByUserId(String userId);

    int deleteByUserIdWithBelongYearMonth(String userId, String belongYearMonth);

    int deleteByUserId(String userId);
}
